package com.fast;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.fast.mapper")
@Slf4j
public class LyFastManageApplication {

    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        SpringApplication.run(LyFastManageApplication.class, args);
        long endTime = System.currentTimeMillis();
        log.info("系统启动成功，耗时：{}ms", endTime - startTime);
    }
}
